package com.vsked.tests;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import java.util.Set;

import java.sql.Connection;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.vsked.bean.ConnectionInfo;
import com.vsked.classMssqls.MssqlSon;
import com.vsked.connection.ConnectionUtil;
import com.vsked.database.ColumnInfo;
import com.vsked.database.TableInfo;
import com.vsked.io.WriteToFile;
import com.vsked.util.BeanProcess;
import com.vsked.util.Symbol;
import com.vsked.util.TransFormDataType;

public class TestBeanvsk {
	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
		ConnectionInfo ci = new ConnectionInfo();
		ci.setDbName("ProjectManager");
		ci.setDbPort(1433);
		ci.setDriverStr("com.microsoft.jdbc.sqlserver.SQLServerDriver");
		ci.setServerAddr("localhost");
		ci.setUserName("sa");
		ci.setUserPass("SqlMsde@InfoxEie2000");
		System.out.println(TableInfo.getSqlServerTablePrimaryKey(ci, "Tb_Test"));
		System.out.println(TableInfo.getSqlServerTableForeignKey(ci, "Tb_Test"));
		
	}//end main

}
